import QtQuick 2.0

Rectangle {
    id: window
    color: "#121212"
    anchors.margins: 10
    border.color: "white"; border.width: 5; radius: 3
    property  string txt :""
   // property bool detailsOpacity
   //anchors.verticalCenter: parent.verticalCenter

    FontLoader{
        id:localFont;
        name:"Courier"
        //source: ".ttf"
    }
    Text {
        id: num
        text: window,txt
        font.family:  localFont.name
        font.pointSize: 22
        font.bold: true
        color: "white"
        elide: Text.ElideMiddle
        style: Text.Outline
        styleColor: "green"
        anchors.verticalCenter: parent.verticalCenter
        anchors.horizontalCenter: parent.horizontalCenter

    }
}
